/*
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

@import '../../../assets/styles/base/colors';
@import '../../../assets/styles/base/variables';

editor-file {
  .business-network-details {
    display: flex;
    height: 50px;

    .margin-right {
      margin-right: $space-smedium;
    }

    .edit-package-text {
      font-style: italic;
    }

    .edit-label {
      line-height: 2.5rem;
      font-weight: bold;
    }
  }
}

.scrollbar-padding {
  // emulating the ".cm-s-default.CodeMirror" styling to mimic the editor having padding around the scroll bar
  border-radius: 4px;
  background: #262A35;
  color: #FFFFFF;
  padding: $space-medium $space-medium $space-medium 0px;
  .CodeMirror-simplescroll-vertical {
    margin: 0px;
  }
  .CodeMirror-lines {
    margin-top: 0px;
  }
}

.CodeMirror {
  font-family: Source Code Pro;
  height: calc(100vh - 320px);
}

.ps.ps--active-x>.ps__scrollbar-x-rail,
.ps.ps--active-y>.ps__scrollbar-y-rail{
    opacity: 0.6;
}
